package org.ehe.business.engineer.domain;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.ehe.common.mybatis.core.domain.BaseEntity2;

import java.math.BigDecimal;

/**
 * @author :zhangnn
 * @className :QuarterlyScoreEntity
 * @description: 季度评分记录实体类
 * @date 2025-07-16 10:43:50
 */

@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_quarterly_score")
public class QuarterlyScoreEntity extends BaseEntity2 {
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @TableField("engineer_id")
    private Long engineerId;

    @TableField("year")
    private Integer year;

    @TableField("quarter")
    private Integer quarter;

    @TableField("quarter_str")
    private String quarterStr;

    @TableField("total_projects")
    private Integer totalProjects;

    @TableField("completed_projects")
    private Integer completedProjects;

    @TableField("average_score")
    private BigDecimal averageScore;

    @TableField("has_difficult_project")
    private Integer hasDifficultProject;

    @TableField("is_evaluated")
    private Integer isEvaluated;

}
